[LINUX] Move .bss declaration after .data.* in x86_64 linker script.
authorIan Campbell <ian.campbell@xensource.com>
Sat, 9 Sep 2006 19:48:16 +0000 (20:48 +0100)
committerIan Campbell <ian.campbell@xensource.com>
Sat, 9 Sep 2006 19:48:16 +0000 (20:48 +0100)
commitd37211bc5ebda671250059f2a235af83988b3037
treef4ad25ebf8dafcacfcf9037f0feec3e6342899bd
parentff27f515689c50e591dd4fd6a5b47f82cf33d489
[LINUX] Move .bss declaration after .data.* in x86_64 linker script.

Older binutils (prior to 2.16) have a problem with the linker script resulting
from the change introducing explicit segment maps. Namely does the
respective linker not properly handle @nobits sections (i.e. .bss) sitting
between @progbits ones (i.e. .data.*). The .bss section must therefore
be moved past all initialized sections (as is already the case on i386).
Replacement patch attached.

From: Jan Beulich <jbeulich@novell.com>
Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
patches/linux-2.6.16.13/x86_64-put-note-sections-into-a-pt_note-segment-in-vmlinux.patch